import {defineStore} from "pinia";
import {ref} from "vue";

export const pageStore = defineStore('page', () => {
    const loginPageStatus = ref(false)
    const changeLoginPageStatus = ()=>{
        loginPageStatus.value = !loginPageStatus.value
    }

    const setLoginPageStatus = (value)=>{
        loginPageStatus.value = value
    }

    return { loginPageStatus,changeLoginPageStatus,setLoginPageStatus }
})
